package com.qijian.maindata.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qijian.maindata.domain.LineChangeDetail;
import com.qijian.maindata.domain.vo.LineChangeDetailVo;
import com.qijian.maindata.mapper.LineChangeDetailMapper;
import com.qijian.maindata.service.ILineChangeDetailService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 工艺变更明细Service业务层处理
 *
 * @author qijian
 * @date 2022-02-22
 */
@Service
@RequiredArgsConstructor
public class LineChangeDetailServiceImpl extends ServiceImpl<LineChangeDetailMapper, LineChangeDetail> implements ILineChangeDetailService {

    private final LineChangeDetailMapper lineChangeDetailMapper;


    @Override
    public LineChangeDetailVo getOldDataByProcessId(Long processId) {
        return lineChangeDetailMapper.selectProcessIdOldData(processId);
    }
}
